import request from '@/utils/request'
import { getToken } from '@/utils/auth'

export function queryReceiptList(query) {
  return request({
    url: '/wxh-cloud-rest/rest/' + getToken() + '/pas/receipt/getReceiptRecordList',
    method: 'get',
    params: query
  })
}

export function saveReceiptRecord(formData) {
  return request({
    url: '/wxh-cloud-rest/rest/' + getToken() + '/pas/receipt/saveReceiptRecord',
    method: 'post',
    data: formData,
    headers: { 'Content-Type': 'multipart/form-data;charset=UTF-8' }
  })
}

